<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<div>
    <ul>
        <c:forEach items="${form.name}" var="name">
            <li><c:out value="${name}"/></li>
        </c:forEach>
    </ul>
    <form:form modelAttribute="form">
        <fieldset>
            <form:input path="addedName"/>
            <input type="submit" data-poc-target="#middle" name="_eventId_add" value="Add More"/>
            <input type="submit" data-poc-target="#middle" name="_eventId_submit" value="Submit"/>
        </fieldset>
    </form:form>
</div>
